<%@ page contentType="text/html; charset=UTF-8" %> 
<%@ page import="net.lunjin.bean.Organizations"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>


<%
int existNum =  Integer.parseInt(request.getAttribute("existNum").toString());
Organizations organizations =  (Organizations) request.getAttribute("organizations");
%>

<body>
<font color="blue"><b>修改交易平台</b></font><br/>

<form action="saveOrg_<%=organizations.getId()%>" method="post">
名:<input type="input" id="orgname" name="orgname" value="<%=organizations.getOrgname()%>"/><%if(existNum>0){out.print("<font color='red'>已有这平台!!</font>");}%><br/>

短名:<input type="input" id="orgshortname" name="orgshortname" value="<%=organizations.getOrgshortname()%>"/><%if(existNum>0){out.print("<font color='red'>已有这平台!!</font>");} %><br/>

简介:<textarea type="text" id="orgcontent" name="orgcontent" style="width:200px;height:100px"/><%=organizations.getOrgcontent().replaceAll("<br/>","\n")%></textarea><br/>

tel:<input type="input" id="orgtel" name="orgtel" value="<%=organizations.getOrgtel()%>"/><br/>

address:<input type="input" id="orgaddr" name="orgaddr" value="<%=organizations.getOrgaddr()%>"/><br/>

hit:<input type="input" id="hit" name="hit" value="<%=organizations.getHit()%>"/><br/>

<div>
      <label for="from"><font color="red"></font>公司成立时间</label>
      <input type="text" name="whencreate" id="whencreate" value="<%=organizations.getWhencreate()%>" size="50" maxlength="50"/> 
      <br />
</div>

<div>
      <label for="from"><font color="red"></font>公司网址</label>
      <input type="text" name="web" id="web" value="<%=organizations.getWeb()==null?"":organizations.getWeb()%>" size="50" /> 
      <br />
</div>

<div>
      <label for="class">公司所在</label>
      <select id='comin' name='comin' style='width:100px'>
<option value='1' <%if(organizations.getComin().toString().equals("1")){out.print("selected");} %>>中国国内</option>
<option value='2' <%if(organizations.getComin().toString().equals("2")){out.print("selected");} %>>中国香港</option>
<option value='0' <%if(organizations.getComin().toString().equals("0")){out.print("selected");} %>>其它</option>
</select>
      <br />
</div>

<div>
      <label for="class">是否实体公司</label>
      <select id='iscom' name='iscom' style='width:100px'>
<option value='0' <%if(organizations.getIscom().toString().equals("0")){out.print("selected");} %>>未知</option>
<option value='1' <%if(organizations.getIscom().toString().equals("1")){out.print("selected");} %>>是</option>
<option value='2' <%if(organizations.getIscom().toString().equals("2")){out.print("selected");} %>>否</option>
</select>
      <br />
</div>

<div>
      <label for="class">金银经营资格</label>
      <select id='able' name='able' style='width:100px'>
<option value='0' <%if(organizations.getAble().toString().equals("0")){out.print("selected");} %>>未知</option>
<option value='1' <%if(organizations.getAble().toString().equals("1")){out.print("selected");} %>>有</option>
<option value='2' <%if(organizations.getAble().toString().equals("2")){out.print("selected");} %>>无</option>
</select>
      <br />
</div>

<div>
      <label for="class">公司背景实力</label>
      <select id='combg' name='combg' style='width:100px'>
<option value='0' <%if(organizations.getCombg().toString().equals("0")){out.print("selected");} %>>未知</option>
<option value='1' <%if(organizations.getCombg().toString().equals("1")){out.print("selected");} %>>雄厚</option>
<option value='2' <%if(organizations.getCombg().toString().equals("2")){out.print("selected");} %>>一般</option>
</select>
      <br />
</div>

<div>
      <label for="class">资金安全度</label>
      <select id='secu' name='secu' style='width:100px'>
<option value='0' <%if(organizations.getSecu().toString().equals("0")){out.print("selected");} %>>中</option>
<option value='1' <%if(organizations.getSecu().toString().equals("1")){out.print("selected");} %>>高</option>
<option value='2' <%if(organizations.getSecu().toString().equals("2")){out.print("selected");} %>>低</option>
</select>
      <br />
</div>

<div>
      <label for="class">入金出金速度</label>
      <select id='speed' name='speed' style='width:100px'>
<option value='0' <%if(organizations.getSpeed().toString().equals("0")){out.print("selected");} %>>中</option>
<option value='1' <%if(organizations.getSpeed().toString().equals("1")){out.print("selected");} %>>快</option>
<option value='2' <%if(organizations.getSpeed().toString().equals("2")){out.print("selected");} %>>慢</option>
</select>
      <br />
</div>

<div>
      <label for="class">预测分析水平</label>
      <select id='foruser' name='foruser' style='width:100px'>
<option value='0' <%if(organizations.getForuser().toString().equals("0")){out.print("selected");} %>>中</option>
<option value='1' <%if(organizations.getForuser().toString().equals("1")){out.print("selected");} %>>高</option>
<option value='2' <%if(organizations.getForuser().toString().equals("2")){out.print("selected");} %>>低</option>
</select>
      <br />
</div>

<div>
      <label for="class">vip</label>
      <select id='orgvip' name='orgvip' style='width:100px'>
<option value='0' <%if(organizations.getOrgvip().toString().equals("0")){out.print("selected");} %>>否</option>
<option value='1' <%if(organizations.getOrgvip().toString().equals("1")){out.print("selected");} %>>是</option>
</select>
      <br />
</div>
<div>
      <label for="class">审核</label>
      <select id='auditflag' name='auditflag' style='width:100px'>
      <%if(existNum==0){%>
		<option value='1' <%if(organizations.getAuditFlag().toString().equals("1")){out.print("selected");} %>>通过</option>
	<%}%>
<option value='0' <%if(organizations.getAuditFlag().toString().equals("0")){out.print("selected");} %>>不通过</option>
</select><font color="red">*</font>
      <br />
</div>

<input type="submit"/>
</form>
</body>
</html>